<template>
  <div>
    <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
      <el-tab-pane label="部门管理" name="DeptManage"><DeptManage></DeptManage></el-tab-pane>
      <el-tab-pane label="职位管理" name="PosManage"><PosManage></PosManage></el-tab-pane>
      <el-tab-pane label="职称管理" name="JoblevelManage"><JoblevelManage></JoblevelManage></el-tab-pane>
      <el-tab-pane label="奖惩规则" name="EcManage"><EcManage></EcManage></el-tab-pane>
      <el-tab-pane label="权限组" name="PermissionManage"><PermissionManage></PermissionManage></el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import DeptManage from "@/components/sys/basic/DeptManage";
import EcManage from "@/components/sys/basic/EcManage";
import JoblevelManage from "@/components/sys/basic/JoblevelManage";
import PermissionManage from "@/components/sys/basic/PermissionManage";
import PosManage from "@/components/sys/basic/PosManage";

export default {
  name: "SysBasic",
  components: {
    DeptManage,
    EcManage,
    JoblevelManage,
    PermissionManage,
    PosManage
  },
  data() {
    return {
      activeName: 'DeptManage'
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
}
</script>

<style scoped>

</style>